<?php

namespace App\Http\Requests\Api\Ucenter\User;

use App\Http\Requests\BaseRequest;

/**
 *
 * @authors generator
 * @date    2020-10-19 16:51:40
 */
class LogsRequest extends BaseRequest
{
    /**
     * 返回参数验证规则.
     *
     * @return array
     */
    protected function rule(): array
    {
        return [
            'type' => ['rule' => 'required|in:1,2'],
            'page' => ['rule' => 'required|integer'],
            'limit' => ['rule' => 'required|integer'],
        ];

    }
}
